Total Complexity | 24 |
Dependencies | 4 |
Dependents | 5 |
Total lines | 130 |
Lines of code | 108 |
Logical lines of code | 54 |
Comment lines | 6 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
format_payment_method() | 56 | 7 | 18 | |
is_valid_referrer() | 51 | 6 | 29 | |
generate_random_code() | 57 | 4 | 15 | |
get_payment_card() | 56 | 2 | 20 | |
update_affiliate_commission() | 60 | 2 | 14 | |
get_commission_amount() | 65 | 2 | 8 | |
get_affiliate_setting() | 75 | 1 | 4 |